home *** CD-ROM | disk | FTP | other *** search
- .so psroff.inc # Include the macros needed for output to Postscript
- .TH Export-RIB
- .SH NAME
- exp_rib \- RenderMan RIB geometry export filter
- .SH SYNOPSIS
- .PP
- This man page describes the options specific to the full featured RenderMan
- RIB geometry export converter.
- .PP
- .SH EXAMPLE CONVERSION SYNTAX
- .PP
- To convert a 3D Studio file to RIB using the default parameters listed
- in the setup.ini file:
- .IP
- pt -i 3ds -o rib filename.3ds
- .PP
- To convert a Lightwave file to RIB and override some of the default options
- in setup.ini:
- .IP
- pt -i lw -o rib -out-output-texture-data = yes filename.lw
- .PP
- .SH OVERVIEW
- .PP
- The RIB geometry export converter writes out the scene database
- to a RenderMan RIB v3.1 compliant ASCII file which can then be read into
- other programs, or more likely, be sent off to PIXAR's RenderMan
- renderer.
- .PP
- The converter writes out a full RIB specification that can be read into
- a RIB compliant renderer and rendered immediately. It has been tested
- with PIXAR's RenderMan for Windows v1.2. The converter primarily outputs
- optimized indexed polygon arrays using the "PointsPolygon" primitive but
- will also output NURB and Bicubic patch primitives directly.
- .PP
- .SH COMMAND LINE OPTIONS
- .PP
- The following options are specific to this import converter:
- .TP
- -o rib
- This is the mandatory command line option which specifies that the data
- is to be exported using the RIB format converter.
- .TP
- -out-rib-output-txtr-data = [ yes | no ]
- If this option is set to 'yes' then texture mapping coordinates ("st" array
- data) and texture mapping commands ("MakeTexture") will be output to the
- RIB file for those primitives which references 2d textures. If set to 'no'
- then no texture mapping related information will be output.
- .TP
- -out-line-ending = [ cr | lf | crlf ]
- This common option selects which line terminator is to be used for the ASCII output
- file. Files destined for DOS/PC machines should use 'crlf', files for UNIX
- machines should use 'lf' and files for Macintosh machines should use 'cr'.
- The default is specific to which machine this converter is presently running
- on: 'crlf' for DOS/PC, 'lf' for UNIX and 'cr' for Macintosh. This option
- normally does not have to be specified unless you will be using the exported
- ASCII file on a different type of computer.
- .PP
- .SH CONVERSION NOTES
- .PP
- If NURB or Bicubic patches exist within the converter's internal database
- then these will be written to the RIB file as "NuPatch" and "PatchMesh"
- primitives, respectively.
- .PP
- Any other primitives will be written as optimized indexed polygons using
- the "PointsPolygon" primitive. If a polygon has holes then it will be
- triangulated. If vertex normals, vertex texture coordinates, vertex colors
- or vertex opacity values are associated with the polygons then they will
- be output as indexed arrays as well ("N", "st", "Cs" and "O" RIB arrays).
- .PP
- If, within the converter's database, multiple materials are associated with
- a single object then this converter will explode such objects so that each
- exported "PointsPolygon" RIB primitive is associated with only one material
- definition.
- .PP
- The exported RIB file contains a line that begins with "# display". This
- line should be uncommented if you want the rendered image to be saved
- out to the specified TIFF file (see the RIB file for details).
- .PP
- .SH LIMITATIONS
- .PP
- No NURB trimming curves are output at this time.
- .PP
- The exported RIB file references only the "plastic" and "paintedplastic"
- default RenderMan shaders. This seriously limits the amount of material
- information that can be exported to the RIB file due to the simplicity of
- these shaders.
- .PP
- If more than one texture map is assigned to a surface then only the first
- one will be output in the file.
- .PP
- Texture mapping scale and offset parameters are not output to the RIB file
- due to lack of such parameters in the standard RIB shaders.
- .PP
- No light source decay is output because the standard RenderMan light source
- shaders do not support arbitrary decay.
- .PP
- .SH Other Copyrights and Trademarks
- .PP
- RenderMan is a registered trademark of Pixar.
- .PP
- The RenderMan Interface Procedures and Protocol are Copyright
- 1988, 1989, Pixar. All Rights Reserved.